﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbNews:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbNews
    {
        public tbNews()
        { }
        #region Model
        private int _newsid;
        private int? _typeid;
        private string _newsname;
        private string _newscontent;
        private int? _newsorder;
        private bool _visible;
        private string _author;
        private DateTime? _updatetime;
        private bool _isnew;
        private string _email;
        private string _keys;
        private string _newsurl;
        private string _newsfile;
        private string _newsfileurl;
        int _clicks;

        public int Clicks
        {
            get { return _clicks; }
            set { _clicks = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int newsId
        {
            set { _newsid = value; }
            get { return _newsid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? typeId
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string newsName
        {
            set { _newsname = value; }
            get { return _newsname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string newsContent
        {
            set { _newscontent = value; }
            get { return _newscontent; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? newsOrder
        {
            set { _newsorder = value; }
            get { return _newsorder; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool visible
        {
            set { _visible = value; }
            get { return _visible; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? updateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isNew
        {
            set { _isnew = value; }
            get { return _isnew; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string keys
        {
            set { _keys = value; }
            get { return _keys; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string newsUrl
        {
            set { _newsurl = value; }
            get { return _newsurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string newsFile
        {
            set { _newsfile = value; }
            get { return _newsfile; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string newsFileUrl
        {
            set { _newsfileurl = value; }
            get { return _newsfileurl; }
        }
        #endregion Model

    }
}

